<!-- ## MODULE | NUMBERING PLAN ## -->

        <!-- javascript contstants -->
        <script type="text/javascript">
            var AJAX_URL = "<?=MODULE_SITE_URL?>/ajax";
        </script>

        <link rel="stylesheet" type="text/css" href="<?=MODULE_CSS_PATH?>/module_style.css" rel="stylesheet" />	        
        
        <!-- module javascript global variables -->
        <script type="text/javascript">
            
            // mininal start date for adding new routes
            var minRouteStartDate = "<?=$this->MODULE->module_mod_settings->get_setting_item_from_db('external_minimal_opening_delay')?>";
			var minRouteEndDate = "<?=$this->MODULE->module_mod_settings->get_setting_item_from_db('external_minimal_closing_delay')?>";			
			
			var siteUrl = '<?=MODULE_SITE_URL?>';
			var lang_form_dialcode_begins_with = '<?=lang('form_dialcode_begins_with')?>';
			var lang_term_route_name = '<?=lang('term_route_name')?>';
			
			var numberingPlan = '<?=$numberingplan?>';
            
        </script>
        
        <script type="text/javascript" src="<?=MODULE_JS_PATH?>/module_elements.js"></script>         
        <script type="text/javascript" src="<?=MODULE_JS_PATH?>/module_functions.js"></script>   
		
		<?php if ($subpage == "reopen"){?>
		<!-- reopen -->
		<script type="text/javascript">
		$(function(){
		
		});
		</script>		
		<?php }?>	
		
		<?php if(count(@$routes) > 0){?>
		<script type="text/javascript">
		$(function(){
			// add ordering by mouse click
			$("#routes-table").tablesorter( {sortList: [[6,0]],cssAsc: "ui-state-focus",cssDesc: "ui-state-focus"} );   		
		});		
		</script>
		<?php }?>
		
		<?php if(isset($country_id) && $country_id != "none"){?>
		<script type="text/javascript">
		$(function(){
			// add ordering by mouse click
			load_country_routes_external('<?=$route_name?>');
		});		
		</script>
		<?php }?>
		
</head>
<body>
    <div id="container">